package generics;

import java.util.Date;

public class DateInterval extends Pair<Date> {
	public void setSecond(Date second) {
		System.out.println("set second in Date Interval");
		if (second.compareTo(getFirst()) >= 0)
			super.setSecond(second);
	}
}
